﻿/*
 * Programer: JR Padfield
 * Description:Holds static variables.
 * Version: 1
 * Date: 12/17/13 * 
 */

using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;

namespace TheWorld.Global
{
    public static class Static
    {

        // IP & Port //
#if DEBUG
        public static string IPAddress = "127.0.0.1";
#endif
        public static string IpAddress = "67.164.226.51";
        public static int Port = 6265;

        // Atempt Login //
        public static bool atemptLogin = false;

        // Shutdown //
        public static bool shutDown = false;

        // Input Controls //
        public static Keys PlayerUp = Keys.W;
        public static Keys PlayerDown = Keys.S;
        public static Keys PlayerLeft = Keys.A;
        public static Keys PlayerRight = Keys.D;

        public static int rSprite = 1;
        public static int MyIndex;
        public static string AccountName;

        // Fps Count //
        public static long totalTime = 0;
        public static long frameCount = 0;
        public static long fps = 0;

        // Pinging //
        public static long PingStart;
        public static long PingEnd;
        public static long Ping;

        // Menu Alert Message //
        public static int menuAlertColour;
        public static string menuAlertMessage;
        public static long menuAlertTimer;

        // Directions Booleans //
        public static bool DirUp = false;
        public static bool DirDown = false;
        public static bool DirLeft = false;
        public static bool DirRight = false;
        public static bool Ctrl = false;

        // High Indexing
        public static int HighIndex;
        public static int npcHighIndex;

        // Game Time
        public static GameTime _gameTime;
    }
}
